<#macro side_bar active>
    <div class="be-left-sidebar">
        <div class="left-sidebar-wrapper"><a href="#" class="left-sidebar-toggle">Dashboard</a>
            <div class="left-sidebar-spacer">
                <div class="left-sidebar-scroll">
                    <div class="left-sidebar-content">
                        <ul class="sidebar-elements">
                            <li <#if active=="/user">class="active"</#if>>
                                <a href="/admin">
                                    <i class="icon mdi mdi-home"></i>
                                    <span>数据概览</span>
                                </a>
                            </li>
                            <li class="parent">
                                <a href="javascript:;">
                                    <i class="icon mdi mdi-storage"></i>
                                    <span>商品管理</span>
                                </a>
                                <ul class="sub-menu">
                                    <li <#if active=="/user/goods/category">class="active"</#if>>
                                        <a href="/user/goods/category">分类管理</a>
                                    </li>
                                    <li <#if active=="/user/goods/list">class="active"</#if>>
                                        <a href="/user/goods/list">商品管理</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="parent">
                                <a href="javascript:void(0);">
                                    <i class="icon mdi mdi-assignment"></i>
                                    <span>订单管理</span>
                                </a>
                                <ul class="sub-menu">
                                    <li <#if active=="/user/orders/list">class="active"</#if>>
                                        <a href="/user/orders/list">订单列表</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="parent">
                                <a href="javascript:void(0);">
                                    <i class="icon mdi mdi-settings"></i>
                                    <span>个人中心</span>
                                </a>
                                <ul class="sub-menu">
                                    <li <#if active=="/user/profile">class="active"</#if>>
                                        <a href="/user/profile">个人资料</a>
                                    </li>
                                    <li <#if active=="/user/password">class="active"</#if>>
                                        <a href="/user/password">修改密码</a>
                                    </li>
                                    <li <#if active=="/user/config">class="active"</#if>>
                                        <a href="/user/password">配置管理</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</#macro>